#ifndef QTLAUNCHER_CMDS_H
#define QTLAUNCHER_CMDS_H

#define KDED_EXENAME "kded5"

typedef struct {
    long cmd;
    long arg_length;
} klauncher_header;

/* Launcher commands: */

#define LAUNCHER_EXEC   1
#define LAUNCHER_SETENV 2
#define LAUNCHER_CHILD_DIED 3
#define LAUNCHER_OK 4
#define LAUNCHER_ERROR 5
#define LAUNCHER_SHELL  6
#define LAUNCHER_TERMINATE_KDE 7
#define LAUNCHER_TERMINATE_KDEINIT  8
#define LAUNCHER_DEBUG_WAIT     9
#define LAUNCHER_EXT_EXEC   10
#define LAUNCHER_KWRAPPER   11
#define LAUNCHER_EXEC_NEW   12


const char *commandToString(int command);

#endif // QTLAUNCHER_CMDS_H
